<template>
	<view class="homebox">
		<view class="czname">
			流速仪信息
		</view>
		<view class="czinput">
			<view class="lebox">
				名称：
			</view>
			<view class="leboxinput">
				<view class="">
					{{liusuyi.name}}
				</view>
				<!-- 				<uni-easyinput  v-model="czoption.name" placeholder="请输入内容"></uni-easyinput> -->
			</view>
		</view>
		<view class="czinput">
			<view class="lebox">
				类型：
			</view>
			<view class="leboxinput">
				<view class="">
					{{liusuyi.type}}
				</view>
				<!-- 				<uni-easyinput  v-model="czoption.name" placeholder="请输入内容"></uni-easyinput> -->
			</view>
		</view>
		<view class="czinput">
			<view class="lebox">
				编号：
			</view>
			<view class="">
				<view class="">
					{{liusuyi.code}}
				</view>
				<!-- 				<uni-easyinput disabled v-model="czoption.devicename" placeholder="请输入内容"></uni-easyinput> -->
			</view>
		</view>
		<view class="czinput">
			<view class="lebox">
				转数比：
			</view>
			<view class="">
				<view class="">
					{{liusuyi.data_c}}
				</view>
				<!-- 				<uni-easyinput disabled v-model="czoption.devicename" placeholder="请输入内容"></uni-easyinput> -->
			</view>
		</view>
		<view class="hetop">
			<view class="" style="margin: 0 auto;color: #418876">
				公式系数
			</view>
			<!-- 			<view class="">
				<uni-easyinput v-model="czoption.devicename" placeholder="请输入内容"></uni-easyinput>
			</view> -->
		</view>
		<view class="czinput">
			<view class="lebox">
				参数a：
			</view>
			<view class="">
				<view class="">
					{{liusuyi.yiqi_changshu_a}}
				</view>
				<!-- 				<uni-easyinput disabled v-model="czoption.devicename" placeholder="请输入内容"></uni-easyinput> -->
			</view>
		</view>
		<view class="czinput">
			<view class="lebox">
				参数b：
			</view>
			<view class="">
				<view class="">
					{{liusuyi.shuili_luoju_b}}
				</view>
				<!-- 				<uni-easyinput disabled v-model="czoption.devicename" placeholder="请输入内容"></uni-easyinput> -->
			</view>
		</view>
		<view class="formula">
			<view class="formulatop">
				流速公式：V=a+bn，n=N*C/T
			</view>
			<view class="formulabom">
				<view class="formulaitem">
					C：转数比
				</view>
				<view class="formulaitem">
					n：转数
				</view>
				<view class="formulaitem">
					N：信号数
				</view>
				<view class="formulaitem">
					T：信号时长
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				liusuyi:{}
			}
		},
		onLoad(options) {
			this.liusuyi = this.vuex_liusuyi
			console.log('this.liusuyi',this.liusuyi);
		},
		onShow() {

		},
		destroyed() {
			console.log('销毁');
		},
		methods: {

		}
	}
</script>
<style>
	page {
		background-color: #f8f8f8;
	}
</style>
<style scoped lang="scss">
	.hetop {
		text-align: center;line-height: 60rpx; background-color: #d6fbfd;border-radius: 30rpx;font-size: 30rpx;font-weight: bold;
	}
	.homebox {
		width: 690rpx;
		padding: 0 30rpx;
	
		// background-color: #464ebf;
		.czname {
			display: flex;
			justify-content: center;
			line-height: 100rpx;
			font-size: 40rpx;
			color: #2dbfae;
		}
	
		.czinput {
			// height: 100rpx;
			font-size: 35rpx;
			padding: 20rpx 20rpx;
			// color: #2dbfae;
			display: flex;
			align-items: center;
			// background-color: #ffffff;
			border-bottom: 1rpx dashed #2dbfae;
			border-radius: 0rpx;
			margin-bottom: 20rpx;
	
			.lebox {
				width: 180rpx;
			}
		}
	
		.qicebox {
			display: flex;
			justify-content: center;
			align-items: center;
			margin: 20rpx;
	
			.qicedian {
				.cexianttop {
					width: 200rpx;
					text-align: center;
					// background-color: #2dbfae;
					border: #2dbfae solid 1rpx;
				}
	
				.qiceitem {
					width: 200rpx;
					text-align: center;
					// background-color: #2dbfae;
					border: #2dbfae solid 1rpx;
				}
			}
		}
	}
	.formula {
		width: 690rpx;
		margin-top: 40rpx;
		display: flex;
		flex-direction: column;
		align-items: center;

		.formulatop {
			width: 650rpx;
			text-align: center;
			line-height: 80rpx;
			font-size: 40rpx;
			border-radius: 15rpx 15rpx 0 0;
			background-color: #327983;
			color: #ffffff;
		}

		.formulabom {
			width: 650rpx;
			height: 200rpx;
			text-align: center;
			line-height: 70rpx;
			font-size: 30rpx;
			border-radius: 0 0 15rpx 15rpx;
			background-color: #b0ddd4;
			color: #ffffff;
			display: flex;
			flex-wrap: wrap;
			align-content: space-around;
			justify-content: space-around;

			.formulaitem {
				width: 250rpx;
				height: 70rpx;
				margin: 0rpx;
				line-height: 70rpx;
				border-radius: 10rpx;
				background-color: #ffffff;
				color: #327983;
			}
		}
	}
</style>